package cn.semes.system.service.impl;

import cn.semes.basic.service.impl.BaseServiceImpl;

import cn.semes.system.mapper.SystemDetailMapper;
import cn.semes.system.domain.Systemdictionarydetail;
import cn.semes.system.service.ISystemDetailService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
@Transactional(readOnly = true,propagation = Propagation.SUPPORTS)
public class SystemDetailServiceImpl extends BaseServiceImpl<Systemdictionarydetail> implements ISystemDetailService {

    @Autowired
    private SystemDetailMapper service;


    @Override
    public List<Systemdictionarydetail> findByDeptId(Long id) {
        return service.findByDeptId(id);
    }
}
